<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>layui</title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <link rel="stylesheet" href="../lib/layui-v2.6.3/css/layui.css" media="all">
        <link rel="stylesheet" href="../css/public.css" media="all">
        <style>
            ::-webkit-scrollbar {  
		    display: none;  
		    }
        </style>
    </head>
    <body>
        <div style="height:600px;">
            
           <div style="height: 400px; padding-top:100px;background-color: #fff;">
            <div style="text-align: center;">
                <i class="layui-icon layui-circle"
                   style="color: white;font-size:30px;font-weight:bold;background: #52C41A;padding: 20px;line-height: 80px;">&#xe605;</i>
                <div style="font-size: 24px;color: #333;font-weight: 500;margin-top: 30px;">
                    规格改动成功
                </div>      
            </div>
            <div style="text-align: center;margin-top: 50px;">
                <button class="layui-btn next" id="ensureBtn" style="width: 100px;">确认</button>
            </div>
           </div>

        </div>

        <script type="text/javascript" src="js/jquery-2.1.4.min.js"></script>
        <script>    
            $('#ensureBtn').on('click',function(){
                window.parent.postMessage('closesuccess', 'http://127.0.0.1:5500/index.html#/../html/varietyInfo.html'); // '*' 表示目标源，慎用，建议使用具体的源      
            })
        </script>
    </body>
</html>